package com.syf.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.syf.domain.SysPrivilege;

import java.util.List;

/**
*
*
*@author 苏耀奋
*@create 2021-07-11 12:11
*/
public interface SysPrivilegeService extends IService<SysPrivilege>{

    /**
     *  获取该菜单下面所有的权限
     * @param roleId
     *          roleId 代表当前的查询的角色的ID
     * @param menuId  菜单的ID
     * @return
     */
        List<SysPrivilege> getAllSysPrivilege(Long menuId, Long roleId);
    }
